import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "前端博客笔记",
  themeConfig: {
    sidebar: [
      {
        text: 'HTML知识点汇集',
        items: [
          { text: 'HTML知识点', link: '/html' }
        ]
      },
      {
        text: 'CSS知识点汇集',
        link: '/css',
        items: []
      },
      {
        text: 'javascript知识点汇集',
        link: '/js',
        items: []
      },
      {
        text: 'Vue2知识点汇集',
        link: '/vue2',
        items: []
      },
      {
        text: 'Vue3知识点汇集',
        link: '/vue3',
        items: []
      },
      {
        text: 'Vue-Router知识点汇集',
        link: '/vue-router',
        items: []
      },
      {
        text: 'VueX知识点汇集',
        link: '/vuex',
        items: []
      },
      {
        text: 'Axios知识点汇集',
        link: '/axios',
        items: []
      }
    ],
  }
})
